package ace.module.mail.address.core.impl.manager;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.DtoManager;
import ace.module.mail.address.api.model.dto.MadApplicationDto;
import ace.module.mail.address.core.impl.dao.entity.MadApplication;

/**
 * 邮寄地址应用 spring data jdbc querydsl rsql manager.
 *
 * @author Caspar
 */
public interface MadApplicationManager extends DtoManager<MadApplication, Long, MadApplicationDto> {

  MadApplication getByOutTypeAndOutId(String outType, String outId);

  MadApplication getAndCheckByOutTypeAndOutId(String outType, String outId);
}